import http from '@http';

const API_PREFIX = '/system/log/login';

export function fetchGetInfoList(values = {}) {
  return http.post(API_PREFIX + '/list', values);
}

export function fetchGetInfo(infoId) {
  return http.get(API_PREFIX + `/detail/${infoId}`);
}

export function fetchDeleteInfo(ids) {
  return http.post(API_PREFIX + '/delete', ids);
}
